<script>
	import { USER_ROLE } from "$lib/api/proto/user_api";
	import { userStore } from "$lib/stores/user.svelte";
	import ResourceList from "./ResourceList.svelte";
	import RoadmapList from "./RoadmapList.svelte";

</script>
<div>
	<RoadmapList />
	{#if userStore.userInfo?.basicInfo?.userRole == USER_ROLE.USER_ROLE_COACH}
		<ResourceList />
	{/if}
</div>